import React from 'react'
import { Suspense } from "react";
import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import { ConfigProvider } from 'antd';
import dayjs from 'dayjs';
import zhCN from 'antd/locale/zh_CN';
import 'dayjs/locale/zh-cn';
dayjs.locale('zn');
import "reset-css"
import "./assets/styles/global.scss"
import { BrowserRouter } from "react-router-dom";
import 'animate.css';
ReactDOM.createRoot(document.getElementById('root')).render(
  // <React.StrictMode>
  <BrowserRouter>
    <Suspense fallback={<div>loading...</div>}>
        <ConfigProvider direction="ltr" locale={zhCN}>
          <App />
        </ConfigProvider>
      </Suspense>
  </BrowserRouter>
  // </React.StrictMode>,
)
